package homework.work9;

public class Dog extends Animal{
    boolean femal;

    //行为
    public static void gatekeeper(){
        System.out.println("it can gatekeeper");
    }

    //get and set

    public boolean isFemal() {
        return femal;
    }

    public void setFemal(boolean femal) {
        femal = femal;
    }


    //构造器

    public Dog() {
    }
}
